package com.gufe.entity;

import lombok.Data;
import lombok.Builder;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RetiredInfo {
    private Integer id; // 退役信息ID
    private Integer userId; // 用户ID
    private Integer isServedInMilitary; // 是否服过兵役 (1: 是, 0: 否)
    private String militaryBranch; // 军种
    private String unitNumber; // 部队编号
    private String rankname; // 军衔
    private LocalDate firstEnlistmentDate; // 初次入伍日期
    private LocalDate enlistmentDate; // 入伍日期
    private String enlistmentPlace; // 入伍地点
    private LocalDate dischargeDate; // 退役日期
    private String militarySpecialty; // 军事专业
    private String militaryPosition; // 军事职务
    private String awards; // 获得奖项
    private Integer isReservedMilitary; // 是否有预备役
    private String reservedPosition; // 预备役职务
    private String reservedSpecialty; // 预备役专业
    private LocalDateTime createdAt; // 信息创建时间
    private LocalDateTime updatedAt; // 信息更新时间
}
